Replace dom0_ops hypercall with three new hypercalls:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 25 Aug 2006 17:39:10 +0000 (18:39 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 25 Aug 2006 17:39:10 +0000 (18:39 +0100)
commit1df421476a141955f4f04b7ad0fbaf73e57c8358
tree6500dea6303559d54abd1b0ff49db083c463d0d8
parente76cb15dcecf1b78ecb1365ea0f955a97c5d2dd1
Replace dom0_ops hypercall with three new hypercalls:
 1. platform_op -- used by dom0 kernel to perform actions on the
    hardware platform (e.g., MTRR access, microcode update, platform
    quirks, ...)
 2. domctl -- used by management tools to control a specified domain
 3. sysctl -- used by management tools for system-wide actions

Benefits include more sensible factoring of actions to
hypercalls. Also allows tool compatibility to be tracked separately
from the dom0 kernel. The assumption is that it will be easier to
replace libxenctrl, libxenguest and Xen as a matched set if the
dom0 kernel does not need to be replaced too (e.g., because that
would require vendor revalidation).

From here on we hope to maintain dom0 kernel compatibility. This
promise is not extended to tool compatibility beyond the existing
guarantee that compatibility will not be broken within a three-level
stable release [3.0.2, 3.0.3, etc.].

Signed-off-by: Keir Fraser <keir@xensource.com>
74 files changed:
tools/debugger/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/linux-xen-low.c
tools/debugger/libxendebug/Makefile [deleted file]
tools/debugger/libxendebug/list.h [deleted file]
tools/debugger/libxendebug/xendebug.c [deleted file]
tools/debugger/libxendebug/xendebug.h [deleted file]
tools/libxc/ia64/xc_ia64_hvm_build.c
tools/libxc/ia64/xc_ia64_linux_restore.c
tools/libxc/ia64/xc_ia64_linux_save.c
tools/libxc/ia64/xc_ia64_stubs.c
tools/libxc/powerpc64/xc_linux_build.c
tools/libxc/xc_csched.c
tools/libxc/xc_domain.c
tools/libxc/xc_hvm_build.c
tools/libxc/xc_linux_build.c
tools/libxc/xc_linux_restore.c
tools/libxc/xc_linux_save.c
tools/libxc/xc_misc.c
tools/libxc/xc_private.c
tools/libxc/xc_private.h
tools/libxc/xc_ptrace.c
tools/libxc/xc_sedf.c
tools/libxc/xc_tbuf.c
tools/libxc/xenctrl.h
tools/libxc/xg_private.h
tools/misc/xenperf.c
tools/python/xen/lowlevel/xc/xc.c
tools/xenmon/setmask.c
tools/xenstat/libxenstat/src/xenstat.c
xen/arch/ia64/xen/dom0_ops.c
xen/arch/ia64/xen/domain.c
xen/arch/ia64/xen/hypercall.c
xen/arch/powerpc/dom0_ops.c
xen/arch/powerpc/powerpc64/hypercall_table.S
xen/arch/x86/Makefile
xen/arch/x86/dom0_ops.c [deleted file]
xen/arch/x86/domctl.c [new file with mode: 0644]
xen/arch/x86/platform_hypercall.c [new file with mode: 0644]
xen/arch/x86/setup.c
xen/arch/x86/shadow2-common.c
xen/arch/x86/sysctl.c [new file with mode: 0644]
xen/arch/x86/x86_32/entry.S
xen/arch/x86/x86_64/entry.S
xen/common/Makefile
xen/common/acm_ops.c
xen/common/dom0_ops.c [deleted file]
xen/common/domain.c
xen/common/domctl.c [new file with mode: 0644]
xen/common/perfc.c
xen/common/sched_credit.c
xen/common/sched_sedf.c
xen/common/schedule.c
xen/common/sysctl.c [new file with mode: 0644]
xen/common/trace.c
xen/include/acm/acm_hooks.h
xen/include/asm-ia64/domain.h
xen/include/asm-x86/shadow2.h
xen/include/public/acm.h
xen/include/public/acm_ops.h
xen/include/public/arch-ia64.h
xen/include/public/arch-powerpc.h
xen/include/public/arch-x86_32.h
xen/include/public/arch-x86_64.h
xen/include/public/dom0_ops.h
xen/include/public/domctl.h [new file with mode: 0644]
xen/include/public/platform.h [new file with mode: 0644]
xen/include/public/sched_ctl.h [deleted file]
xen/include/public/sysctl.h [new file with mode: 0644]
xen/include/public/xen-compat.h
xen/include/public/xen.h
xen/include/xen/cpumask.h
xen/include/xen/hypercall.h
xen/include/xen/sched-if.h
xen/include/xen/sched.h
xen/include/xen/trace.h